package HOANGVIETANH_EX2;

public class Models {
	public boolean getI(Entity objen) {

		if (objen.CheckI()) {
			return false;
		} else {
			return true;
		}

	}

	public float Cong(Entity objen) {
		return objen.getA() + objen.getB();
	}

	public float Tru(Entity objen) {
		return objen.getA() - objen.getB();
	}

	public float Nhan(Entity objen) {
		return objen.getA() * objen.getB();
	}

	public float Chia(Entity objen) {
		return objen.getA() / objen.getB();
	}
}

